/// UpdateRemarkDto
class UpdateRemarkDto {
  /// 备注ID
  final int id;
  /// 备注类型：1-核销备注，2-财务备注
  final int remarkType;
  /// 中文备注内容
  final String remarkZh;
  /// 英文备注内容
  final String remarkEn;

  UpdateRemarkDto({
    required this.id,
    required this.remarkType,
    required this.remarkZh,
    required this.remarkEn,
  });

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['id'] = id;
    data['remarkType'] = remarkType;
    data['remarkZh'] = remarkZh;
    data['remarkEn'] = remarkEn;
    return data;
  }

  factory UpdateRemarkDto.fromJson(Map<String, dynamic> json) {
    return UpdateRemarkDto(
      id: json['id'],
      remarkType: json['remarkType'],
      remarkZh: json['remarkZh'],
      remarkEn: json['remarkEn'],
    );
  }
}